/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ServiceOfSOAP;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

//Service Endpoint Interface
@WebService
@SOAPBinding(style = Style.RPC)
public interface ShoppingCartSoap {

    @WebMethod
    String getAllProductsText();

    @WebMethod
    String addUser(int UserID);

    @WebMethod
    String addProduct(int UserID, String ProductID);

    @WebMethod
    void removeProduct(int UserID, String ProductID);

    @WebMethod
    String checkOutText(int UserID);
}
